home *** CD-ROM | disk | FTP | other *** search
-
- /* Generated by Interface Builder */
-
- #import <objc/Object.h>
-
- #define ARBITRARY 0
- #define LIMITED 1
-
- @interface Car:Object
- {
- float dragCoefficient;
- float frontalArea;
- float mass;
- float roadForce;
- float currentVelocity;
- BOOL plotVelocity;
- BOOL plotAcceleration;
- id velocityGraph;
- id accelerationGraph;
- id powerGraph;
- int testMode;
- float energy;
- }
-
- // Override methods.
-
- - init;
- - read:(NXTypedStream *)stream;
- - write:(NXTypedStream *)stream;;
-
- // This Class' methods
-
- - (float)dragCoefficient;
- - setDragCoefficient:(float)aNumber;
-
- - (float)frontalArea;
- - setFrontalArea:(float)aNumber;
-
- - (float)mass;
- - setMass:(float)aNumber;
-
- - setRoadForce:(float)aNumber;
-
- - (float)currentVelocity;
-
- - (BOOL)plotAcceleration;
- - setPlotAcceleration:(BOOL)flag;
-
- - (int)testMode;
- - setTestMode:(int)mode;
-
- - runSimulation:sender;
- - report:(NXStream *)stream;
-
- @end
-